package com.yuhs.zixing.study.design.pattern.dp002.structural.s002.bridge.b002;

/**
 * @description:
 * @author: yuhs
 * @date: 2022/5/1 6:06 PM
 */
public class ShanZhaiCorp002 extends Corp002 {
    //产什么产品，不知道，等被调用的才知道
    public ShanZhaiCorp002(Product002 product) {
        super(product);
    }

    //狂赚钱
    public void makeMoney() {
        super.makeMoney();
        System.out.println("我赚钱呀...");
    }
}